﻿Public Class frm_tarjeta
    Public tar As tarjeta
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Me.DialogResult = Windows.Forms.DialogResult.OK
        Dim res As tarjeta = New tarjeta()
        res.banco = Me.txt_banco.Text
        res.tipo = Me.txt_tipo.Text
        res.nrotarjeta = Me.txt_nro_tarjeta.Text
        res.fechvenc = Me.txt_fech_venc.Text
        Me.tar = res
        Me.Close()
    End Sub
End Class